package com.aaa.front.dao;

import com.aaa.front.entity.TbStation;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
 * @ fileName: 门店工位表(TbStation)表控制层
 * @ description:
 * @ fileName: 李江波
 * @ createTime: 2023-06-26 16:51:01
 * @ version:1.0.0
 */
public interface TbStationDao extends BaseMapper<TbStation> {

    // IPage<TbStation> (IPage<TbStation> page, @Param(Constants.WRAPPER) Wrapper<TbStation> queryWrapper);
    <E extends IPage<TbStation>> E queryAllStore(E page, int storeId);
    // IPage<TbStation> (IPage<TbStation> page, @Param(Constants.WRAPPER) Wrapper<TbStation> queryWrapper);
    <E extends IPage<TbStation>> E queryMune(E page, @Param("idle") Integer idle);


    IPage<TbStation> queryStation(Page<TbStation> page, QueryWrapper queryWrapper);
}

